package com.utbm.lo54.entity;

public class Course {

	private Long id;
	private String code;
	private String title;

	public Course() {}

	public Course(String tit) {
		title=tit;
	}

	public Course(String cod, String tit) {
		title=tit;
		code=cod;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	
	@Override
	public String toString() {
		return "Course [code=" + code + ", title=" + title + "]";
	}

	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}

}
